
from driver import ADC
import utime as time


adc0 = ADC()
adc1=ADC()
adc2=ADC()
adc0.open("ADC0")
adc1.open("ADC1")



def get_ai_current_value():
    value1="%.4f" %(adc0.readVoltage())
    value2="%.4f" %(adc1.readVoltage())
    # print("current value of ai:",value1,value2)    
    return float(value1),float(value2)



